$(function(){
    showCondition(true);
    
    paramTabPage[tabId]= $("#tabContent > .tab-pane.active").data();
    $('#'+tabId+' #hosp-title').append(paramTabPage[tabId].title);
    
	
	
	getQuotas("ybbDisLineDepGroup", loadData, "dislinedepgroupallhosp-ul");
	
	function loadData(totalQuota){
		// 全院指标 (1.Hosp 2.All)  参数 4.为jsp中的div的id 5.jsp中ul的id
		loadHospQuota(paramTabPage[tabId].monitorType,totalQuota,"dislinedepgroupallhospQuotasId","dislinedepgroupallhosp-ul","ybDisLineDepGroupTotal");
		// 加载指标的div 参数 3.为jsp中的div的id 4.jsp中ul的id
		loadDRGsQuota(totalQuota,"depGroup","科室组","dislinedepgroupListQuotasId","dislinedepgroupList-ul");
	    // 科室组指标的数据加载 
	    loadDRGsQuotaData(totalQuota,"depGroup",true,"ybDisLineDepGroupDetail");
	}
});